package com.example.chinesenation.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sakuraFallingDown
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Nation implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 民族名
     */
    private String nationName;

    /**
     * 民族简介
     */
    private String nationIntroduction;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;

    private Integer isDeleted;


}
